package com.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.entity.Teacher;
import com.example.entity.User;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

public interface UserService extends IService<User> {
    Map<String,Object> importExcel(MultipartFile file) throws Exception;

    Map<String,Object> generateClass(String className,String classPosition,String classTeacher,MultipartFile file) throws Exception;

    List selectLectureList();

    Map<String,Object> getLectureStudent(Long id);

    Teacher teacherLogin(Teacher teacher);

    Teacher teacherRegister(Teacher teacher);

    List<User> getUserByClassCode(String classCode);
}
